feloader.add("@cloud/pep-header-and-footer-china/m/index", ["@cloud/portal-utils", "@cloud/lazyload"], (function(e, t, o) {
    o.exports = function(e) {
        var t = {};
        function o(a) {
            if (t[a])
                return t[a].exports;
            var i = t[a] = {
                i: a,
                l: !1,
                exports: {}
            };
            return e[a].call(i.exports, i, i.exports, o),
            i.l = !0,
            i.exports
        }
        return o.m = e,
        o.c = t,
        o.d = function(e, t, a) {
            o.o(e, t) || Object.defineProperty(e, t, {
                enumerable: !0,
                get: a
            })
        }
        ,
        o.r = function(e) {
            "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {
                value: "Module"
            }),
            Object.defineProperty(e, "__esModule", {
                value: !0
            })
        }
        ,
        o.t = function(e, t) {
            if (1 & t && (e = o(e)),
            8 & t)
                return e;
            if (4 & t && "object" == typeof e && e && e.__esModule)
                return e;
            var a = Object.create(null);
            if (o.r(a),
            Object.defineProperty(a, "default", {
                enumerable: !0,
                value: e
            }),
            2 & t && "string" != typeof e)
                for (var i in e)
                    o.d(a, i, function(t) {
                        return e[t]
                    }
                    .bind(null, i));
            return a
        }
        ,
        o.n = function(e) {
            var t = e && e.__esModule ? function() {
                return e.default
            }
            : function() {
                return e
            }
            ;
            return o.d(t, "a", t),
            t
        }
        ,
        o.o = function(e, t) {
            return Object.prototype.hasOwnProperty.call(e, t)
        }
        ,
        o.p = "/build/",
        o(o.s = 41)
    }([function(e, t, o) {
        "use strict";
        e.exports = function(e) {
            return e && e.__esModule ? e : {
                default: e
            }
        }
        ,
        e.exports.__esModule = !0,
        e.exports.default = e.exports
    }
    , function(e, t, o) {
        "use strict";
        Object.defineProperty(t, "__esModule", {
            value: !0
        }),
        t.default = function(e) {
            var t;
            return function(o, a) {
                var i = a;
                "number" != typeof a && (i = e),
                "number" == typeof t && clearTimeout(t),
                t = setTimeout(o, i)
            }
        }
    }
    , function(e, t, o) {
        "use strict";
        e.exports = function(e, t) {
            if (!(e instanceof t))
                throw new TypeError("Cannot call a class as a function")
        }
        ,
        e.exports.__esModule = !0,
        e.exports.default = e.exports
    }
    , function(e, t, o) {
        "use strict";
        function a(e, t) {
            for (var o = 0; o < t.length; o++) {
                var a = t[o];
                a.enumerable = a.enumerable || !1,
                a.configurable = !0,
                "value"in a && (a.writable = !0),
                Object.defineProperty(e, a.key, a)
            }
        }
        e.exports = function(e, t, o) {
            return t && a(e.prototype, t),
            o && a(e, o),
            Object.defineProperty(e, "prototype", {
                writable: !1
            }),
            e
        }
        ,
        e.exports.__esModule = !0,
        e.exports.default = e.exports
    }
    , function(t, o) {
        t.exports = e("@cloud/lazyload")
    }
    , function(t, o) {
        t.exports = e("@cloud/portal-utils")
    }
    , function(e, t, o) {
        "use strict";
        Object.defineProperty(t, "__esModule", {
            value: !0
        }),
        t.default = function(e, t) {
            var o = "";
            void 0 !== document.onmousewheel && (o = "mousewheel");
            if (!o)
                try {
                    new WheelEvent("wheel");
                    o = "wheel"
                } catch (e) {
                    console.error(e)
                }
            o || (o = "DOMMouseScroll");
            o && e.on(o, (function(e) {
                var a = e.originalEvent
                  , i = o
                  , n = 0;
                return a.detail ? n = a.detail : "mousewheel" === i ? n = -a.wheelDelta : "DOMMouseScroll" === i ? n = a.detail : "wheel" === i && (n = a.deltaY),
                t.call(this, e, n)
            }
            ))
        }
    }
    , function(e, t, o) {
        "use strict";
        e.exports = function(e, t, o) {
            return t in e ? Object.defineProperty(e, t, {
                value: o,
                enumerable: !0,
                configurable: !0,
                writable: !0
            }) : e[t] = o,
            e
        }
        ,
        e.exports.__esModule = !0,
        e.exports.default = e.exports
    }
    , function(e, t, o) {
        "use strict";
        function a(t) {
            return e.exports = a = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
                return typeof e
            }
            : function(e) {
                return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
            }
            ,
            e.exports.__esModule = !0,
            e.exports.default = e.exports,
            a(t)
        }
        e.exports = a,
        e.exports.__esModule = !0,
        e.exports.default = e.exports
    }
    , function(e, t, o) {
        "use strict";
        Object.defineProperty(t, "__esModule", {
            value: !0
        }),
        t.default = void 0;
        var a = [];
        $(document).mousemove((function(e) {
            var t = {
                x: e.pageX,
                y: e.pageY
            };
            if (0 === a.length)
                for (var o = 0; o < 2; o++)
                    a.push(t);
            a.push(t),
            a.length > 3 && a.shift()
        }
        ));
        var i = {
            getDirectionAngle: function(e, t, o, a) {
                var i = a - t
                  , n = o - e
                  , r = Math.atan(i / n) / Math.PI * 180;
                return n < 0 && i > 0 ? r = 180 + r : n < 0 && i < 0 && (r -= 180),
                r
            },
            getMoveAngle: function() {
                var e = a[0]
                  , t = a[a.length - 1];
                return e ? this.getDirectionAngle(e.x, e.y, t.x, t.y) : 0
            },
            getMouseLocus: function() {
                return a
            }
        };
        t.default = i
    }
    , function(e, t, o) {
        "use strict";
        Object.defineProperty(t, "__esModule", {
            value: !0
        }),
        t.default = function(e) {
            if (!e || e.length < 0)
                return;
            var t = e.html()
              , o = e.attr("data-holder");
            $(o).after(t).remove(),
            e.remove()
        }
    }
    , function(e, t, o) {
        "use strict";
        Object.defineProperty(t, "__esModule", {
            value: !0
        }),
        t.default = function() {
            return a
        }
        ;
        var a = function() {
            var e = document.createElement("div")
              , t = {
                transition: "transitionend",
                WebkitTransition: "webkitTransitionEnd",
                MozTransition: "transitionend",
                OTransition: "oTransitionEnd otransitionend"
            };
            for (var o in t)
                if (void 0 !== e.style[o])
                    return t[o];
            return !1
        }()
    }
    , function(e, t, o) {
        "use strict";
        Object.defineProperty(t, "__esModule", {
            value: !0
        }),
        t.default = void 0;
       
    }
    , function(e, t, o) {
        "use strict";
        var a = o(0);
        Object.defineProperty(t, "__esModule", {
            value: !0
        }),
        t.default = void 0;
        var i = a(o(2))
          , n = a(o(3))
          , r = a(o(4))
          , s = a(o(14))
          , c = a(o(38))
          , u = [s.default, c.default]
          , l = function() {
            function e(t) {
                (0,
                i.default)(this, e);
                var o = document.querySelectorAll("[data-mod-name]");
                if (o && o.length)
                    for (var a = this.getModules(), n = 0; n < o.length; n++) {
                        var s = o[n];
                        r.default.addListener(s, (function(e) {
                            var t = e.getAttribute("data-mod-name")
                              , o = e.getAttribute("data-loaded");
                            a[t] && !o && (e.setAttribute("data-loaded", !0),
                            new a[t](e))
                        }
                        ))
                    }
                new r.default
            }
            return (0,
            n.default)(e, [{
                key: "getModules",
                value: function() {
                    var e = {};
                    return u.forEach((function(t) {
                        t.moduleName ? e[t.moduleName()] = t : new t("body")
                    }
                    )),
                    e
                }
            }]),
            e
        }();
        t.default = l
    }
    , function(e, t, o) {
        "use strict";
        var a = o(0);
        Object.defineProperty(t, "__esModule", {
            value: !0
        }),
        t.default = void 0;
        var i = a(o(2))
          , n = a(o(3))
          , r = a(o(7));
        o(15);
        var s = a(o(4));
        o(16);
        var c = a(o(17));
        o(25),
        o(34),
        o(37),
        (0,
        c.default)();
        var u = function() {
            function e(t) {
                (0,
                i.default)(this, e),
                (0,
                r.default)(this, "$el", void 0),
                this.$el = $(t),
                this.init()
            }
            return (0,
            n.default)(e, [{
                key: "init",
                value: function() {
                    var e = this;
                    setTimeout((function() {
                        s.default.getInstance(e.$el[0])
                    }
                    ), 20)
                }
            }], [{
                key: "moduleName",
                value: function() {
                    return "header"
                }
            }]),
            e
        }();
        t.default = u
    }
    , function(e, t, o) {}
    , function(e, t, o) {
        "use strict";
        var a = $("#header")
          , i = $(".header-container")
          , n = $(".header-bottom")
          , r = a.data("methods");
        r || (r = {},
        a.data("methods", r)),
        $(document).ready((function() {
            var e = !1
              , t = n.offset().top;
            window.screen.width > 768 && $(window).scroll((function() {
                e || (t = n.offset().top);
                var o = $(document).scrollTop();
                o >= t && !e ? (i.addClass("fixed"),
                i.css("top", -t),
                e = !0) : o < t && e && (i.removeClass("fixed"),
                i.css("top", "auto"),
                e = !1);
                var a = $(".pep-navigation-bar .pagenav-wrapper")
                  , r = $(".pep-solution-page-navigate .por-section");
                a.length && a.hasClass("fixed") ? $("#header").data("methods").header.hideHeader() : a.length && $("#header").data("methods").header.showHeader(),
                r.length && (r.hasClass("fixed") ? $("#header").css("opacity", "0") : $("#header").css("opacity", "1"))
            }
            ));
            var o, s, c = {
                hideHeader: function() {
                    a.addClass("fade")
                },
                showHeader: function() {
                    a.removeClass("fade")
                }
            };
            r.header = c,
            o = $(".header-verification"),
            s = encodeURIComponent(window.location.href),
            o.length > 0 && o.attr("href", o.attr("href").replace("locale=zh-cn", "locale=zh-cn&service=" + s))
        }
        ))
    }
    , function(e, t, o) {
        "use strict";
        var a = o(0)
          , i = o(8);
        Object.defineProperty(t, "__esModule", {
            value: !0
        }),
        t.default = function() {
            $(document).ready((function() {
                if (window.observer) {
                    var e = window.observer;
                    e("login") || e("login", !0),
                    e("login").subscribe(null, (function(e) {
                        if (e && 0 === e.flag)
                            h();
                        else if (e && 1 === e.flag) {
                            window.reg = window.reg ? window.reg : "CN";
                            var t = "HWC_CN" === e.xdomain_type ? "CN" : "HK";
                            if (t === window.reg)
                                return;
                            l({
                                type: "ip",
                                country: window.reg,
                                lan: window.promptLan,
                                ref: u(),
                                promptTips: r.default.promptTips,
                                islogin: !0,
                                countryBelong: t
                            }),
                            d({
                                type: "ip",
                                country: window.reg,
                                lan: window.promptLan,
                                ref: u(),
                                promptTips: r.default.promptTips,
                                islogin: !0,
                                countryBelong: t
                            })
                        }
                    }
                    ))
                }
                var t = $("#header")
                  , o = $("body")
                  , a = $(".header-prompt-checkbox")
                  , i = $(".header-prompt-closed");
                a.on("click", (function() {
                    a.toggleClass("active")
                }
                )),
                i.on("click", (function() {
                    t.removeClass("show-top-prompt"),
                    o.removeClass("show-top-prompt"),
                    $(".nav-main.fixed").css("top", "48px"),
                    a.hasClass("active") && s.cookie.setCookie("header-prompt-hide", "true")
                }
                ))
            }
            ))
        }
        ;
        var n = a(o(18))
          , r = a(o(24))
          , s = function(e, t) {
            if (!t && e && e.__esModule)
                return e;
            if (null === e || "object" !== i(e) && "function" != typeof e)
                return {
                    default: e
                };
            var o = c(t);
            if (o && o.has(e))
                return o.get(e);
            var a = {}
              , n = Object.defineProperty && Object.getOwnPropertyDescriptor;
            for (var r in e)
                if ("default" !== r && Object.prototype.hasOwnProperty.call(e, r)) {
                    var s = n ? Object.getOwnPropertyDescriptor(e, r) : null;
                    s && (s.get || s.set) ? Object.defineProperty(a, r, s) : a[r] = e[r]
                }
            a.default = e,
            o && o.set(e, a);
            return a
        }(o(5));
        function c(e) {
            if ("function" != typeof WeakMap)
                return null;
            var t = new WeakMap
              , o = new WeakMap;
            return (c = function(e) {
                return e ? o : t
            }
            )(e)
        }
    }
    , function(e, t, o) {
        "use strict";
        var a = o(19)
          , i = o(20)
          , n = o(21)
          , r = o(23);
        e.exports = function(e, t) {
            return a(e) || i(e, t) || n(e, t) || r()
        }
        ,
        e.exports.__esModule = !0,
        e.exports.default = e.exports
    }
    , function(e, t, o) {
        "use strict";
        e.exports = function(e) {
            if (Array.isArray(e))
                return e
        }
        ,
        e.exports.__esModule = !0,
        e.exports.default = e.exports
    }
    , function(e, t, o) {
        "use strict";
        e.exports = function(e, t) {
            var o = null == e ? null : "undefined" != typeof Symbol && e[Symbol.iterator] || e["@@iterator"];
            if (null != o) {
                var a, i, n = [], r = !0, s = !1;
                try {
                    for (o = o.call(e); !(r = (a = o.next()).done) && (n.push(a.value),
                    !t || n.length !== t); r = !0)
                        ;
                } catch (e) {
                    s = !0,
                    i = e
                } finally {
                    try {
                        r || null == o.return || o.return()
                    } finally {
                        if (s)
                            throw i
                    }
                }
                return n
            }
        }
        ,
        e.exports.__esModule = !0,
        e.exports.default = e.exports
    }
    , function(e, t, o) {
        "use strict";
        var a = o(22);
        e.exports = function(e, t) {
            if (e) {
                if ("string" == typeof e)
                    return a(e, t);
                var o = Object.prototype.toString.call(e).slice(8, -1);
                return "Object" === o && e.constructor && (o = e.constructor.name),
                "Map" === o || "Set" === o ? Array.from(e) : "Arguments" === o || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o) ? a(e, t) : void 0
            }
        }
        ,
        e.exports.__esModule = !0,
        e.exports.default = e.exports
    }
    , function(e, t, o) {
        "use strict";
        e.exports = function(e, t) {
            (null == t || t > e.length) && (t = e.length);
            for (var o = 0, a = new Array(t); o < t; o++)
                a[o] = e[o];
            return a
        }
        ,
        e.exports.__esModule = !0,
        e.exports.default = e.exports
    }
    , function(e, t, o) {
        "use strict";
        e.exports = function() {
            throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")
        }
        ,
        e.exports.__esModule = !0,
        e.exports.default = e.exports
    }
    , function(e, t, o) {
        "use strict";
        Object.defineProperty(t, "__esModule", {
            value: !0
        }),
        t.default = void 0;
    }
    , function(e, t, o) {
        "use strict";
        var a = o(0)
          , i = a(o(1))
          , n = a(o(9))
          , r = a(o(10))
          , s = a(o(26))
          , c = a(o(11))
          , u = a(o(27))
          , l = a(o(31))
          , d = a(o(32));
        o(33),
        $(document).ready((function() {
            var e = (0,
            c.default)()
              , t = $("#header")
              , o = t.find(".header-bottom-wrapper")
              , a = t.find(".header-nav-list")
              , h = a.find(">li")
              , f = t.find(".header-nav")
              , p = t.find(".header-nav-list")
              , w = t.find(".header-tools")
              , m = t.find(".header-tools-right")
              , v = t.find(".header-search")
              , g = $(".header-logo").width()
              , b = 150
              , y = f.width()
              , C = window.innerWidth;
            function x() {
                return v.width() + m.width() + 24
            }
            function _() {
                !function() {
                    v.width() <= b && !t.hasClass("nav-medium-padding") && (y = f.width(),
                    t.addClass("nav-medium-padding"));
                    t.hasClass("nav-medium-padding") && !t.hasClass("nav-small-padding") && o.width() - x() - g - 64 >= y && t.removeClass("nav-medium-padding")
                }(),
                function() {
                    if (!t.hasClass("nav-medium-padding") || v.hasClass("simplify"))
                        return;
                    x() > w.width() && !t.hasClass("nav-small-padding") ? (y = f.width(),
                    t.addClass("nav-small-padding")) : o.width() - x() - g - 64 >= y && t.hasClass("nav-small-padding") && t.removeClass("nav-small-padding")
                }(),
                function() {
                    if (!t.hasClass("nav-small-padding") || !t.hasClass("nav-medium-padding"))
                        return;
                    x() > w.width() && !v.hasClass("simplify") ? v.addClass("simplify") : w.width() - m.width() - 24 > b && !t.hasClass("double") && v.removeClass("simplify")
                }(),
                function() {
                    if (!t.hasClass("nav-small-padding"))
                        return;
                    x() > w.width() && !t.hasClass("double") && (t.addClass("double"),
                    v.addClass("simplify"),
                    C = window.innerWidth);
                    window.innerWidth > C && t.removeClass("double");
                    f.width() < p.width() && !p.hasClass("medium-padding") ? (p.addClass("medium-padding"),
                    y = f.width()) : f.width() >= y && p.removeClass("medium-padding")
                }()
            }
            _(),
            $(window).resize((function() {
                _()
            }
            ));
            var k = function() {
                var o = (0,
                i.default)(300)
                  , r = $(".header-dropdown")
                  , c = $(".header-dropdown-list")
                  , l = c.children("li")
                  , d = function(e, t) {
                    if ("show" === t || "hide" === t) {
                        var o = "show" === t
                          , a = o ? "show" : "hide";
                        e.triggerHandler("before" + a),
                        e.toggleClass("show", o)
                    }
                }
                  , f = $(".J-drop-close")
                  , p = function(o) {
                    if ("show" === o) {
                        if (c.children(".show").eq(0).hasClass("J-drop-common")) {
                            var a = $(".J-drop-common.show")
                              , i = (a.attr("data-name"),
                            a.find(".dropdown-common-right-wrapper"));
                            a.find(".dropdown-common-container");
                            i.length > 0 && (i.get(0).scrollHeight,
                            i.get(0).clientHeight)
                        }
                        if (t.hasClass("show-dropdown") && !c.hasClass("hiding"))
                            return;
                        r.triggerHandler("beforeshow"),
                        r.addClass("showMask"),
                        t.addClass("show-dropdown"),
                        c.height(0).addClass("expanding show-text"),
                        setTimeout((function() {
                            var t = c.children(".show").outerHeight();
                            c.height(t),
                            r.triggerHandler("beginshow");
                            var o = !1;
                            c.one(e, (function() {
                                o = !0,
                                $(this).removeClass("expanding").height(""),
                                r.triggerHandler("aftershow")
                            }
                            )),
                            setTimeout((function() {
                                o || c.trigger(e)
                            }
                            ), 350)
                        }
                        ), 0)
                    } else if ("hide" === o) {
                        if (!t.hasClass("show-dropdown"))
                            return;
                        r.triggerHandler("beforehide"),
                        r.removeClass("showMask");
                        var n = c.children(".show").outerHeight();
                        c.removeClass("show-text").height(n),
                        setTimeout((function() {
                            c.height(0).addClass("hiding"),
                            r.triggerHandler("beginhide");
                            var o = !1;
                            c.one(e, (function() {
                                o = !0,
                                d(l.filter(".show"), "hide"),
                                t.removeClass("show-dropdown"),
                                c.removeClass("hiding"),
                                r.triggerHandler("afterhide")
                            }
                            )),
                            setTimeout((function() {
                                o || c.trigger(e)
                            }
                            ), 350)
                        }
                        ), 0)
                    }
                };
                l.hover((function() {
                    $(this).addClass("hover")
                }
                ), (function(e) {
                    var t, o, i, n, r, s, c, u, l, d = $(this);
                    (o = this,
                    i = (t = e).clientX,
                    n = t.clientY,
                    r = o.getBoundingClientRect() || {},
                    s = r.left,
                    c = r.top,
                    u = r.left + r.width,
                    l = r.top + r.height,
                    i >= s && i <= u && n >= c && n <= l) || (d.removeClass("hover"),
                    setTimeout((function() {
                        a.hasClass("item-hover") || p("hide")
                    }
                    ), 0))
                }
                )),
                f.on("click", (function() {
                    p("hide")
                }
                ));
                h.mouseleave((function() {
                    var e = $(this)
                      , i = l.filter(".show");
                    e.removeClass("hover"),
                    a.removeClass("item-hover"),
                    "hide",
                    o((function() {
                        i.hasClass("hover") || a.hasClass("item-hover") || (t.hasClass("show-dropdown") || $(".header-nav-hover-line").width(0),
                        p("hide"))
                    }
                    ), 200)
                }
                )).mousemove((function() {
                    var e = $(this)
                      , t = n.default.getMoveAngle()
                      , i = n.default.getMouseLocus();
                    if (i && i.length) {
                        var r = function(e, t) {
                            var o = l.filter(".show");
                            if (0 === o.length)
                                return {
                                    min: 90,
                                    max: 90
                                };
                            var a = o.offset()
                              , i = a.left - 0
                              , r = a.top
                              , s = {
                                x: i,
                                y: r
                            }
                              , c = {
                                x: a.left + o.outerWidth() + 0,
                                y: r
                            }
                              , u = n.default.getDirectionAngle(e, t, s.x, s.y);
                            return {
                                min: n.default.getDirectionAngle(e, t, c.x, c.y),
                                max: u
                            }
                        }(i[i.length - 1].x, i[i.length - 1].y)
                          , c = t <= r.max && t >= r.min ? 300 : 150;
                        e.addClass("hover"),
                        a.addClass("item-hover"),
                        s.default.active(e),
                        "show",
                        o((function() {
                            var t = e.attr("data-key")
                              , o = l.filter('[data-name="' + t + '"]');
                            e.addClass("active").siblings().removeClass("active"),
                            function(e) {
                                if (!e.hasClass("show")) {
                                    var t = l.siblings(".show");
                                    d(t, "hide"),
                                    d(e, "show")
                                }
                            }(o),
                            p("show")
                        }
                        ), c)
                    }
                }
                )),
                r.on("beginhide", (function() {
                    s.default.fold()
                }
                )).on("mousemove", (function(e) {
                    0 !== $(e.target).closest(".header-dropdown-list").length || c.hasClass("hiding") || p("hide")
                }
                )),
                l.hover((function() {
                    s.default.active(h.filter(".active")),
                    o((function() {}
                    ))
                }
                ), (function() {}
                )),
                $(".dropdown-product-container, .dropdown-common-container").scrollUnique(),
                (0,
                u.default)()
            }
              , T = !1;
            $(".header-nav-list>li>a").one("mousemove", (function() {
                T || ((0,
                r.default)($("#header-lazyload-html-drop")),
                T = !0,
                k())
            }
            )),
            (0,
            l.default)(),
            window.location.origin.indexOf("marketplace") > -1 && (0,
            d.default)()
        }
        ))
    }
    , function(e, t, o) {
        "use strict";
        Object.defineProperty(t, "__esModule", {
            value: !0
        }),
        t.default = void 0;
        var a = $("#header").find(".header-nav")
          , i = a.find(">ul>li")
          , n = a.find(".header-nav-list")
          , r = a.find(".header-nav-scroll")
          , s = (i.not(".header-nav-item-more"),
        $(".header-nav-hover-line"))
          , c = {
            active: function(e) {
                var t = e.find("span");
                e.find("a");
                if (0 !== t.length && t.is(":visible")) {
                    var o = e.position().left + Number(e.css("padding-left").replace("px", "")) + r.position().left + n.position().left + Number(r && r.css("margin-left").replace("px", ""))
                      , a = t.width();
                    s.css({
                        height: 2,
                        left: o,
                        width: a
                    })
                } else
                    this.fold()
            },
            fold: function() {
                s.css({
                    width: 0
                })
            }
        };
        t.default = c
    }
    , function(e, t, o) {
        "use strict";
        var a = o(0);
        Object.defineProperty(t, "__esModule", {
            value: !0
        }),
        t.default = function() {
            (0,
            i.default)(),
            (0,
            n.default)()
        }
        ;
        var i = a(o(28))
          , n = a(o(29))
    }
    , function(e, t, o) {
        "use strict";
        var a = o(0);
        Object.defineProperty(t, "__esModule", {
            value: !0
        }),
        t.default = function() {
            var e = $(".J-drop-common,.dropdown-common-wrapper");
            e.scrollUnique(),
            (0,
            i.default)(e, (function(e) {
                e.stopPropagation()
            }
            ))
        }
        ;
        var i = a(o(6))
    }
    , function(e, t, o) {
        "use strict";
        var a = o(0);
        Object.defineProperty(t, "__esModule", {
            value: !0
        }),
        t.default = function() {
            c(),
            u()
        }
        ;
        var i = a(o(1))
          , n = a(o(9))
          , r = a(o(6))
          , s = a(o(30))
          , c = function() {
            var e = $(".J-product-nav")
              , t = (0,
            i.default)(300)
              , o = $(".J-product-nav, .dropdown-product-content,.dropdown-product-content,.dropdown-product-search-content")
              , a = function(e) {
                $('.dropdown-product-content[data-name="' + e + '"]').addClass("show").siblings().removeClass("show");
                $(".J-drop-product.show .dropdown-product-wrapper-right"),
                $(".J-drop-product.show .dropdown-product-content.show .dropdown-product-content-middleb")
            }
              , s = function(e) {
                e.parent().addClass("active").siblings().removeClass("active"),
                e.parents("ul").siblings().children("li").removeClass("active")
            };
            e.on("mouseenter", ".dropdown-product-nav-menu", (function() {
                var e = $(this)
                  , o = 0;
                e.parent().hasClass("active") || (o = n.default.getMoveAngle() > 70 || n.default.getMoveAngle() < -70 ? 0 : 300,
                t((function() {
                    s(e),
                    a(e.attr("data-target"))
                }
                ), o))
            }
            )).on("mouseleave", (function() {
                t((function() {}
                ), 0)
            }
            )),
            o.scrollUnique(),
            (0,
            r.default)(o, (function(e) {
                e.stopPropagation()
            }
            ))
        }
          , u = function() {
            $(".dropdown-product-container").each((function() {
                var e = $(this)
                  , t = e.find(".link-searcher")
                  , o = t.find(".link-searcher-input")
                  , a = t.find(".link-searcher-drop")
                  , i = e.find(".dropdown-product-content").not(".no-search").find(".dropdown-product-content-middle").find("a[href]")
                  , n = t.attr("data-no-results-text")
                  , r = t.find(".link-searcher-submit")
                  , c = new s.default({
                    selector: t,
                    targetsSelector: i,
                    noResultsText: n
                });
                t.data("methods", c),
                t.on("dropRendered", (function() {
                    var e = $(this)
                      , t = e.find(".link-searcher-input")
                      , o = $.trim(t.val());
                    e.find(".link-searcher-drop").find("li").not(".no-result").find("a").each((function() {
                        var e = $(this)
                          , t = e.attr("href")
                          , a = o + "_" + t + "_enter";
                        e.attr("bi_name", a)
                    }
                    ))
                }
                )),
                r.click((function() {
                    var e = $(this)
                      , t = ""
                      , i = o.val()
                      , n = a.find("li.active");
                    a.hasClass("show") && n.length > 0 && (t = i + "_" + n.find("a").attr("href") + "_click"),
                    e.attr("bi_name", t)
                }
                ))
            }
            )),
            $(".header-dropdown-list>li").on("beforehide", (function() {
                var e = $(this).find(".link-searcher").data("methods");
                e && e.activeSearch(!1)
            }
            ))
        }
    }
    , function(e, t, o) {
        "use strict";
        var a = o(0);
        Object.defineProperty(t, "__esModule", {
            value: !0
        }),
        t.default = void 0;
        var i = a(o(6))
          , n = function(e) {
            var t = []
              , o = [];
            return e.forEach((function(e) {
                -1 === o.indexOf(e.name) && (t.push(e),
                o.push(e.name))
            }
            )),
            t
        }
          , r = function(e) {
            var t = e.find("[class*='title']").get(0)
              , o = "";
            if (!t)
                return "";
            return function e(t) {
                var a = t.childNodes;
                if (0 !== a.length) {
                    var i = a[0]
                      , n = $.trim(i.textContent);
                    3 === i.nodeType ? n ? o = n : i.nextSibling && e(i.nextSibling) : e(i)
                }
            }(t),
            o
        }
          , s = function(e) {
            var t = this;
            t.opts = $.extend({}, {
                selector: "",
                targetsSelector: "",
                noResultsText: ""
            }, e),
            t.$form = $(t.opts.selector).eq(0),
            t.$input = t.$form.find(".link-searcher-input"),
            t.$clear = t.$form.find(".link-searcher-clear"),
            t.$submit = t.$form.find(".link-searcher-submit"),
            t.$resultDrop = t.$form.find(".link-searcher-drop"),
            t.$searchContent = $(".dropdown-product-search-content"),
            t.$targets = $(t.opts.targetsSelector),
            t.products = n(t.$targets.map((function() {
                var e = $(this);
                return {
                    name: r(e),
                    desc: e.attr("data-desc"),
                    icon: e.attr("data-icon"),
                    href: e.attr("href"),
                    keywords: e.attr("data-keywords") ? e.attr("data-keywords").replace(",", "") : ""
                }
            }
            )).toArray()),
            t.addEvents()
        };
        s.prototype = {
            renderSearchContent: function(e) {
                var t = "";
                e.length > 0 ? e.forEach((function(e, o) {
                    var a = '\n        <div class="dropdown-product-module">\n          <a href="'.concat(e.href, '" class="dropdown-product-item">\n          ').concat(e.icon ? '<div class="dropdown-product-item-icon" style="background-image:url(' + e.icon + ')"></div>' : "", '\n          <p class="dropdown-product-item-title">').concat(e.name, "</i></p>\n          ").concat(e.desc ? '<p class="dropdown-product-item-desc">' + e.desc + "</p>" : "", "\n          </a>\n        </div>\n        ");
                    t += a
                }
                )) : t = '<li class="no-result"><a>' + this.opts.noResultsText + "</a></li>",
                this.$searchContent.html(t)
            },
            toggleSearchContent: function(e) {
                var t = $(".dropdown-product-wrapper")
                  , o = $(".dropdown-product-wrapper-bottom")
                  , a = $(".dropdown-product-search-content");
                e ? (t.addClass("autoheight"),
                o.addClass("hide"),
                a.addClass("active")) : (t.removeClass("autoheight"),
                o.removeClass("hide"),
                a.removeClass("active"))
            },
            showDropByResult: function(e) {
                this.renderSearchContent(e),
                this.toggleSearchContent(!0)
            },
            focusDropItemByKeyboard: function(e) {
                var t, o = this.$resultDrop.filter(".show"), a = o.find("li.active");
                if (0 !== o.length && !o.find(".no-result").length) {
                    if (0 === a.length)
                        (a = o.find("li").eq(0)).addClass("active");
                    else {
                        if ("up" === e)
                            t = a.prev();
                        else {
                            if ("down" !== e)
                                return;
                            t = a.next()
                        }
                        if (0 === t.length)
                            return;
                        t.addClass("active"),
                        t.siblings().removeClass("active")
                    }
                    var i = o.scrollTop()
                      , n = o.innerHeight()
                      , r = t.position() ? t.position().top : 0
                      , s = t.outerHeight();
                    r < i ? o.scrollTop(r) : r + s > i + n && o.scrollTop(r + s - n)
                }
            },
            searchProduct: function(e, t) {
                var o = [];
                return t = t || function() {}
                ,
                this.products.forEach((function(t) {
                    -1 === t.name.toUpperCase().indexOf(e.toUpperCase()) && -1 === t.keywords.toUpperCase().indexOf(e.toUpperCase()) || o.push(t)
                }
                )),
                t(o),
                o
            },
            activeSearch: function(e) {
                e ? this.$input.focus() : (this.toggleSearchContent(!1),
                this.$input.blur())
            },
            addEvents: function() {
                var e = this;
                e.$form.on("keydown", (function(t) {
                    t.stopPropagation(),
                    38 !== t.keyCode && 40 !== t.keyCode || t.preventDefault(),
                    38 === t.keyCode ? e.focusDropItemByKeyboard("up") : 40 === t.keyCode && e.focusDropItemByKeyboard("down")
                }
                )),
                e.$input.on("input", (function() {
                    var t = $(this);
                    e.$form.toggleClass("active", "" !== t.val())
                }
                )),
                e.$clear.click((function() {
                    "" !== e.$input.val() && e.$input.val("").trigger("input").focus()
                }
                )),
                e.$input.on("input focus", (function() {
                    var t = $(this)
                      , o = $.trim(t.val());
                    if ("" !== o) {
                        var a = e.searchProduct(o);
                        e.showDropByResult(a)
                    } else
                        e.toggleSearchContent(!1)
                }
                )),
                $(document).on("click", ".header div", (function(t) {
                    0 === $(t.target).closest(".link-searcher").length && e.toggleSearchContent(!1)
                }
                )),
                e.$form.on("submit", (function(t) {
                    t.preventDefault(),
                    e.submit()
                }
                )),
                e.$resultDrop.on("click", "li", (function() {
                    e.submit()
                }
                )),
                e.$resultDrop.on("mouseenter", "li", (function() {
                    var e = $(this);
                    e.hasClass("no-result") || e.addClass("active").siblings().removeClass("active")
                }
                )),
                e.$resultDrop.scrollUnique(),
                (0,
                i.default)(e.$resultDrop, (function(e) {
                    e.stopPropagation()
                }
                ))
            }
        };
        var c = s;
        t.default = c
    }
    , function(e, t, o) {
        "use strict";
        var a = o(8);
        Object.defineProperty(t, "__esModule", {
            value: !0
        }),
        t.default = function() {
            $(document).on("click", ".header-top-ad i", (function(e) {
                $(".header-top-ad").remove(),
                $("#header").removeClass("show-top-ad"),
                i.cookie.getCookie("header-top-ad") || i.cookie.setCookie("header-top-ad", "hide", 1),
                e.preventDefault(),
                e.stopPropagation()
            }
            ))
        }
        ;
        var i = function(e, t) {
            if (!t && e && e.__esModule)
                return e;
            if (null === e || "object" !== a(e) && "function" != typeof e)
                return {
                    default: e
                };
            var o = n(t);
            if (o && o.has(e))
                return o.get(e);
            var i = {}
              , r = Object.defineProperty && Object.getOwnPropertyDescriptor;
            for (var s in e)
                if ("default" !== s && Object.prototype.hasOwnProperty.call(e, s)) {
                    var c = r ? Object.getOwnPropertyDescriptor(e, s) : null;
                    c && (c.get || c.set) ? Object.defineProperty(i, s, c) : i[s] = e[s]
                }
            i.default = e,
            o && o.set(e, i);
            return i
        }(o(5));
        function n(e) {
            if ("function" != typeof WeakMap)
                return null;
            var t = new WeakMap
              , o = new WeakMap;
            return (n = function(e) {
                return e ? o : t
            }
            )(e)
        }
    }
    , function(e, t, o) {
        "use strict";
        Object.defineProperty(t, "__esModule", {
            value: !0
        }),
        t.default = function() {
            var e = $("#header").find(".header-shopping-cart");
            if (0 === e.length)
                return;
            var t = e.attr("data-api-canuse")
              , o = e.attr("data-api-summary");
            if (window.observer) {
                var a = window.observer;
                a("login") || a("login", !0),
                a("login").subscribe(null, (function(a) {
                    if (a && 1 === a.flag) {
                        var i = a.domainId;
                        $.ajax({
                            type: "POST",
                            crossDomain: !0,
                            xhrFields: {
                                withCredentials: !0
                            },
                            url: t,
                            data: {
                                customer_id: i
                            },
                            success: function(t) {
                                t && t.can_use_shopping_cart && function(t) {
                                    $.ajax({
                                        type: "POST",
                                        crossDomain: !0,
                                        xhrFields: {
                                            withCredentials: !0
                                        },
                                        url: o,
                                        data: {
                                            customer_id: t
                                        },
                                        success: function(t) {
                                            if (t && t.shopping_cart_summary) {
                                                var o = t.shopping_cart_summary.total;
                                                o && e.find(".shopping-cart-icon span").text(o),
                                                e.css("display", "inline-flex"),
                                                e.find("a").each((function(e, t) {
                                                    var o = $(t).attr("data-shopping-cart");
                                                    o && $(t).attr("href", o)
                                                }
                                                ))
                                            }
                                        },
                                        error: function() {}
                                    })
                                }(i)
                            },
                            error: function() {}
                        })
                    }
                }
                ))
            }
        }
    }
    , function(e, t, o) {
        "use strict";
        var a = o(0)
          , i = a(o(1))
          , n = a(o(4))
          , r = a(o(12))
          , s = a(o(5));
        function c() {
            var e = $(".header-search.J-header-search")
              , t = $(".header-nav")
              , o = $(".header-bottom-wrapper")
              , a = $(".header-tools-right").width() + 24
              , i = o.width() - $(".header-nav-list").width() - a - 120 - 108 - 50;
            if (i >= 150) {
                o.addClass("show-search-box");
                var n = Math.min(i, 264);
                $(".search-default").is(":visible") && e.css("width", n)
            } else
                e.css("width", 18),
                o.removeClass("show-search-box");
            var r = e.css("width")
              , s = o.height() < 100 ? o.width() - a - 108 - r : "100%";
            t.css("width", s)
        }
        function u(e) {
            $(e).width($(window).width() - 2 * ($(window).width() - e.getBoundingClientRect().right))
        }
        $(document).ready((function() {
            var e = $(".header-dropdown")
              , t = $(".header-nav")
              , o = $(".header-allnav")
              , a = $(".J-header-search")
              , l = $(".header-mbshearch")
              , d = a.find(".J-serach-form")
              , h = a.find(".J-search-input")
              , f = a.find(".header-search-button")
              , p = a.find(".J-search-close")
              , w = a.find(".J-search-drop")
              , m = w.find(".J-search-hot")
              , v = w.find(".J-search-related")
              , g = a.find(".J-search-content")
              , b = w.find(".J-search-history-content")
              , y = (w.find(".J-search-popular-content"),
            w.find(".J-search-title span"))
              , C = "hothistory"
              , x = new s.default.XSSFilter
              , _ = (0,
            i.default)(250)
              , k = $("html").attr("lang") ? $("html").attr("lang").toLowerCase() : "zh-cn"
              , T = {
                searchUrl: d.attr("data-api-search-url"),
                hot: d.attr("data-api-hot"),
                autoword: d.attr("data-api-autoword"),
                hotSearch: d.attr("data-default-hot")
            };
            $(document).on("click", ".header-login-mobile", (function(e) {
                if (l.removeClass("show"),
                window.moblieLoginCustom)
                    return !1;
                var t = $(".header-mbnav");
                $(this).hasClass("header-login-mobile-show") || (t.toggleClass("show", !1),
                $(".header-menu-mb").toggleClass("show-nav", !1)),
                $(this).toggleClass("header-login-mobile-show"),
                e.stopPropagation()
            }
            )),
            $(document).on("click", ".header-user", (function(e) {
                if (window.moblieLoginCustom)
                    return !1;
                var t = $(".header-mbnav");
                $(this).hasClass("header-user-info-show") || ($(".header-mbshearch").find(".header-mbshearch-input").val("").trigger("input"),
                $(".header-mbshearch").removeClass("show"),
                t.toggleClass("show", !1),
                $(".header-menu-mb").toggleClass("show-nav", !1)),
                $(this).toggleClass("header-user-info-show"),
                e.stopPropagation()
            }
            )),
            $(document).on("click", (function() {
                $(".header-login-mobile").hasClass("header-login-mobile-show") && $(".header-login-mobile").toggleClass("header-login-mobile-show", !1),
                $(".header-user").hasClass("header-user-info-show") && $(".header-user").toggleClass("header-user-info-show", !1)
            }
            ));
            var S, I, D, U, O = {
                togglePlaceholder: (D = h.attr("placeholder"),
                U = h.attr("data-active-placeholder"),
                function(e) {
                    h.attr("placeholder", e ? U : D)
                }
                ),
                activeSearch: function(e) {
                    e ? (u(g[0]),
                    O.toggleDropList("hot"),
                    w.addClass("show"),
                    a.toggleClass("active", !0),
                    t.addClass("search-active")) : (g.css("width", 200),
                    a.toggleClass("active", !1),
                    t.removeClass("search-active"),
                    w.removeClass("show"),
                    m.removeClass("show"),
                    v.removeClass("show").find("a").removeClass("hover")),
                    !1 === e && ("" !== h.val() && h.val("").trigger("input"),
                    h.blur())
                },
                toggleDropList: function(e) {
                    "hot" === e ? (m.addClass("show"),
                    v.removeClass("show").find("a").removeClass("hover")) : "auto" === e && (m.removeClass("show"),
                    v.addClass("show"))
                },
                focusDropItemByKeyboard: function(e) {
                    var t = w.filter(".show")
                      , o = t.find(".J-search-related li.to-page");
                    if (0 !== t.length)
                        if (o.length > 0) {
                            var a, i = t.find(".J-search-related div.hover").eq(0), n = t.find(".J-search-related li a.hover");
                            if (0 === i.length && 0 === n.length)
                                (i = t.find(".search-block").eq(0)).addClass("hover"),
                                i.find(".search-tag").addClass("hover"),
                                i.find("a").eq(i.find("a").length - 1).addClass("hover");
                            else {
                                var r = i.length ? i : n
                                  , s = i.length ? i.find("a").length : 0
                                  , c = "";
                                if ("up" === e)
                                    s > 1 && i.find("a.hover").next().length ? (a = r,
                                    c = "up") : a = r.parent().prev();
                                else {
                                    if ("down" !== e)
                                        return;
                                    s > 1 && i.find("a.hover").prev().length ? (a = r,
                                    c = "down") : a = r.parent().next()
                                }
                                a.length && (r.find("a").removeClass("hover"),
                                r.children("div").removeClass("hover")),
                                a.children("div").length ? (a.children("div").addClass("hover"),
                                c.length > 0 ? (a.find("a").removeClass("hover"),
                                "up" === c ? a.find("a").eq(1).addClass("hover") : a.find("a").eq(0).addClass("hover")) : (a.find("div").addClass("hover"),
                                a.find("a").eq(a.find("a").length - 1).addClass("hover"))) : a.children("a").addClass("hover"),
                                0 === c.length && (a.siblings().find("div").removeClass("hover"),
                                a.siblings().children("a").removeClass("hover"))
                            }
                        } else {
                            var u, l = t.find(".J-search-related a.hover");
                            if (0 === l.length)
                                (l = t.find(".J-search-related a").eq(0)).addClass("hover");
                            else {
                                if ("up" === e)
                                    u = l.parent().prev();
                                else {
                                    if ("down" !== e)
                                        return;
                                    u = l.parent().next()
                                }
                                u.children("a").addClass("hover"),
                                u.siblings().children("a").removeClass("hover")
                            }
                        }
                },
                getXSite: function() {
                    var e = ($("html").attr("lang") || "zh-cn").replace(/\-/g, "_").toUpperCase()
                      , t = $("html").attr("site") || "china";
                    return "hk" === t ? "INTL-".concat(e) : "".concat(t.toUpperCase(), "-").concat(e)
                },
                
                renderAutoword: function(e, t, o) {
                    var a = ""
                      , i = ""
                      , n = function(e, t) {
                        var o = new RegExp(e,"i")
                          , a = !1
                          , i = t.replace(o, (function(e) {
                            return a = !0,
                            "<span>" + e + "</span>"
                        }
                        ));
                        return a || (i = "<span>" + i + "</span>"),
                        i
                    }
                      , r = {
                        "zh-cn": "控制台",
                        "en-us": "Console"
                    }
                      , s = {
                        "zh-cn": "产品",
                        "en-us": "Product"
                    };
                    t.forEach((function(t) {
                        var o = n(e, t.text)
                          , i = $("<div></div>");
                        i.text(e);
                        var c = i.html()
                          , u = t.href && t.href.indexOf("console") > -1 ? '<a class="tag-console" bi_name="' + t.text + '_console" target="_blank" href="' + t.href + '" mate_data_ts_v2="searcher_navigation.click_directpage_console_' + c + "." + t.text + '">' + r[k] + "</a>" : ""
                          , l = t.isProduct ? '<a href="' + t.productUrl + '"class="tag-product" bi_name="' + t.text + '_product" target="_blank"mate_data_ts_v2="searcher_navigation.click_directpage_product_' + c + "." + t.text + '">' + s[k] + "</a>" : "";
                        a += '<li class="to-page"><div class="search-block" data-href="' + (t.isProduct ? t.productUrl : t.href) + '" target="_blank" bi_name="' + t.text + '_toPage" mate_data_ts_v2="searcher_navigation.click_directpage_' + (l || u ? "product_" : "") + c + "." + t.text + '"><p class="text">' + o + "</p>" + (l || u ? '<div class="search-tag">' + u + l + "</div>" : "") + "</div></li>"
                    }
                    )),
                    o.forEach((function(t) {
                        var o = n(e, t)
                          , a = $("<div></div>");
                        a.text(e);
                        var r = a.html();
                        i += '<li><a mate_data_ts_v2="searcher_navigation.click_associate_' + r + "." + t + '">' + o + "</a></li>"
                    }
                    )),
                    i ? ($(".J-search-keyWordsAll").show(),
                    $(".J-search-keyWordsAll span").text(e)) : $(".J-search-keyWordsAll").hide(),
                    v.find("ul").html(a + i)
                },
                setDefaultKeyword: function(e) {
                    h.attr("placeholder", e)
                },
                initDefaultKeyword: function() {
                    var e = this;
                    this.requestRecommend((function(t) {
                        if (t && t.length > 0) {
                            var o = function(e, t) {
                                var o = e - .5
                                  , a = parseInt(String((t + .5 - o) * Math.random() + o), 10);
                                a > t && (a = t);
                                a < e && (a = e);
                                return a
                            }(0, t.length - 1);
                            e.setDefaultKeyword(t[o])
                        }
                    }
                    ))
                },
                search: function(e, o) {
                    var a = T.searchUrl + $.base64.urlSafeEncode(e, !0);
                    window.$subsitePostfix && (a = a + "/" + window.$subsitePostfix),
                    "_blank" === o ? window.open(a) : location.href = a,
                    t.removeClass("search-active")
                },
                showDropBaseOnInput: (S = "",
                function() {
                    _((function() {
                        var e = $.trim(h.val());
                        "" === e ? ($(".header-search-submit").attr("mate_data_ts_v2", "searcher_navigation.click_search"),
                        O.requestAutoword(!1, null),
                        a.is(".active") && O.toggleDropList("hot"),
                        a.is(".active") && O.toggleDropList("hot")) : ($(".header-search-submit").attr("mate_data_ts_v2", "searcher_navigation.click_search_$" + e + ".$" + e),
                        e !== S && (S = e),
                        O.requestAutoword(e, (function(t, o) {
                            O.renderAutoword(e, t, o),
                            t.length || o.length ? O.toggleDropList("auto") : O.toggleDropList("hot")
                        }
                        )))
                    }
                    ))
                }
                )
            };
            h.on("focus", (function() {
                O.togglePlaceholder(!0)
            }
            )).on("blur", (function() {
                O.togglePlaceholder(!1),
                $(".header-search-submit").attr("mate_data_ts_v2", "searcher_navigation.click_search")
            }
            )),
            d.on("keydown", (function(e) {
                e.stopPropagation(),
                38 !== e.keyCode && 40 !== e.keyCode || e.preventDefault(),
                13 === e.keyCode && (e.preventDefault(),
                d.trigger("submit"),
                O.activeSearch(!1)),
                38 === e.keyCode ? O.focusDropItemByKeyboard("up") : 40 === e.keyCode && O.focusDropItemByKeyboard("down")
            }
            )),
            h.on("keydown", (function(e) {
                27 === e.keyCode && "" === $(this).val() && O.activeSearch(!1)
            }
            )),
            h.on("focus", (function() {
                O.activeSearch(!0)
            }
            )),
            f.on("click", (function() {
                a.hasClass("active") ? O.activeSearch(!1) : (O.activeSearch(!0),
                h.val("").trigger("input").focus())
            }
            )),
            $(".close-icon").on("click", (function() {
                a.hasClass("active") && O.activeSearch(!1)
            }
            )),
            $(document).on("mousedown", (function(e) {
                0 === $(e.target).closest(".header-search").length && O.activeSearch(!1)
            }
            )),
            h.on("input", (function() {
                var e = $(this)
                  , t = e.val();
                e.toggleClass("inputted", "" !== t)
            }
            )),
            p.on("click", (function() {
                "" !== h.val() && h.val("").trigger("input").focus()
            }
            )),
            d.on("submit", (function(e) {
                e.preventDefault();
                var t = x.filterXSS($.trim(h.val()))
                  , o = w.filter(".show").find(".J-search-related a.hover")
                  , i = w.filter(".show").find(".search-block.hover")
                  , n = o.length ? o : i;
                if (0 === n.length)
                    "" !== t ? (r.default.recentSearch(t, C),
                    O.search(t, "_blank")) : h.is(":visible") || O.search("", "_blank"),
                    "" !== t && (h.val("").trigger("input"),
                    a.toggleClass("active", !1));
                else {
                    n.trigger("click");
                    var s = n.attr("href");
                    s && ("_blank" === n.attr("target") ? window.open(s) : location.href = s)
                }
            }
            )),
            
            $(document).on("mousedown", (function(e) {
                0 === $(e.target).closest(".header-search").length && O.activeSearch(!1),
                e.stopPropagation()
            }
            )),
            $(document).on("click", ".header-search-droplist-mask", (function() {
                O.activeSearch(!1)
            }
            )),
            $(document).on("click", ".header-search .search-block", (function(e) {
                window.open($(this).attr("data-href")),
                O.activeSearch(!1),
                e.preventDefault()
            }
            )),
            $(document).on("click", ".header-search .search-tag a", (function(e) {
                e.stopPropagation()
            }
            )),
            e.on("beforeshow", (function() {
                O.activeSearch(!1)
            }
            )),
            o.on("beforeshow", (function() {
                O.activeSearch(!1)
            }
            )),
            w.on("click", "a", (function(e) {
                var t = $(this)
                  , o = $.trim(t.text());
                0 !== $(e.target).closest(".J-search-keyWordsAll").length && (o = $.trim(t.find("span").text())),
                h.val(o);
                var a = t.attr("href");
                v.removeClass("show").find("a").removeClass("hover"),
                a || (e.preventDefault(),
                d.trigger("submit")),
                O.activeSearch(!1)
            }
            )),
            new n.default,
            c()
        }
        )),
        $(window).resize((function() {
            c(),
            u($(".J-header-search .J-search-content")[0])
        }
        ))
    }
    , function(e, t, o) {
        "use strict";
        var a = o(0)
          , i = a(o(11))
          , n = a(o(10))
          , r = a(o(35))
          , s = (0,
        i.default)();
        function c(e) {
            var t = $(".header-mbnav")
              , o = t.hasClass("show")
              , a = e || !o;
            t.toggleClass("show", a),
            $(".header-menu-mb").toggleClass("show-nav", a)
        }
        function u(e) {
            var t = $(".header-mbshearch");
            t.data("methods") && (e ? t.data("methods").openSearch() : t.data("methods").closeSearch())
        }
        var l = function() {
            var e, t, o, a;
            $(document).on("click", ".header-menu-mb", (function() {
                c(),
                u(!1)
            }
            )),
            $(document).on("click", ".header-subsite-mb-search", (function() {
                c(!1),
                u(!0)
            }
            )),
            $(document).on("click", ".header-packup-btn", (function() {
                c(!1)
            }
            )),
            $(".header-mbnav").scrollUnique(),
            $(".header-mbnav-level1,.header-mbnav-menulist,.header-mbnav-collapses").on("touchmove", (function(e) {
                $(this).outerHeight() === this.scrollHeight && e.preventDefault()
            }
            )),
            $(document).on("click", ".header-mbnav-menulist a", (function() {
                var e = $(this)
                  , t = e.parent()
                  , o = e.closest(".header-mbnav-menulist")
                  , a = t.attr("data-key")
                  , i = o.closest(".header-mbnav-inner").find(".header-mbnav-collapses").children("li")
                  , n = i.filter('[data-name="' + a + '"]');
                t.addClass("active").siblings().removeClass("active"),
                i.removeClass("show"),
                n.addClass("show")
            }
            )),
            e = $(".J-search-mb-form"),
            t = e.find(".J-search-mb-input"),
            o = e.find(".J-search-mb-clear"),
            a = e.attr("data-searchUrl"),
            t.on("input", (function() {
                var e = $(this)
                  , t = e.val();
                e.toggleClass("inputted", "" !== t)
            }
            )),
            o.on("click", (function() {
                t.val("").trigger("input").focus()
            }
            )),
            t.on("keydown", (function(t) {
                13 === t.originalEvent.keyCode && (t.preventDefault(),
                e.trigger("submit"))
            }
            )),
            e.on("submit", (function(e) {
                e.preventDefault();
                var o = t.val();
                "" !== o && window.open(a + $.base64.urlSafeEncode(o, !0))
            }
            )),
            $(".header-mbnav").on("click", ".header-collapse-head > a", (function(e) {
                var t = $(this);
                if (t.closest(".header-collapse").find(".header-collapse-body").length > 0 && "H2" !== e.target.tagName)
                    e.preventDefault();
                else if (this.href)
                    return;
                var o = t.closest(".header-collapse")
                  , a = o.children(".header-collapse-body")
                  , i = a.children(".header-collapse-content")
                  , n = o.hasClass("open");
                t.parent().parent().siblings(".header-collapse").removeClass("open"),
                $(t.parent().parent().siblings(".header-collapse").find(".header-collapse")).removeClass("open"),
                t.parent().parent().siblings(".header-collapse"),
                $(t.parent().parent().siblings(".header-collapse").find(".header-collapse")).addClass("closed"),
                n ? (a.height(i.outerHeight()),
                a.height(0),
                o.removeClass("open")) : (o.removeClass("closed"),
                a.height(i.outerHeight()),
                o.addClass("open"));
                var r = !1;
                a.one(s, (function() {
                    r = !0,
                    o.hasClass("open") || o.addClass("closed"),
                    $(this).height("")
                }
                )),
                setTimeout((function() {
                    r || a.trigger(s)
                }
                ), 350)
            }
            ))
        };
        $(document).ready((function() {
            var e = !1;
            $(document).on("click", ".header-menu-mb", (function() {
                e || ((0,
                n.default)($("#header-lazyload-html-mbnav")),
                (0,
                r.default)(),
                e = !0,
                l(),
                $(this).trigger("click"))
            }
            ))
        }
        ))
    }
    , function(e, t, o) {
        "use strict";
        var a = o(0);
        Object.defineProperty(t, "__esModule", {
            value: !0
        }),
        t.default = function() {
            (n("backdropFilter") || n("webkitBackdropFilter")) && (0,
            i.default)() || ($(".header-backdrop-filter,.header-backdrop").addClass("header-backdrop-fix"),
            $(".header-top-backdrop-filter").addClass("header-backdrop-fix"),
            $(".header-top-backdrop-filter").removeClass("header-top-backdrop-filter"))
        }
        ;
        var i = a(o(36));
        function n(e) {
            return e in document.createElement("div").style
        }
    }
    , function(e, t, o) {
        "use strict";
        Object.defineProperty(t, "__esModule", {
            value: !0
        }),
        t.default = function() {
            return n
        }
        ;
        var a, i = -1 !== (a = navigator.userAgent).indexOf("compatible") && -1 !== a.indexOf("MSIE") || -1 !== a.indexOf("Edge") || -1 !== a.indexOf("Trident") && -1 !== a.indexOf("rv:11.0"), n = function() {
            if (i)
                return !0;
            var e = document.createElement("canvas").getContext("webgl");
            if (!e)
                return !0;
            var t = e.getExtension("WEBGL_debug_renderer_info");
            return "Google SwiftShader" !== e.getParameter(t.UNMASKED_RENDERER_WEBGL)
        }()
    }
    , function(e, t, o) {
        "use strict";
        var a = o(0)
          , i = a(o(1))
          , n = a(o(12));
        $(document).ready((function() {
            var e, t, o = $(".header-mbshearch"), a = o.find(".header-mbshearch-form"), r = o.find(".header-mbshearch-input"), s = o.find(".header-mbshearch-droplist"), c = o.find(".J-mbshearch-related"), u = s.find(".J-mbshearch-hot"), l = s.find(".J-mbshearch-history-content"), d = (s.find(".J-mbshearch-popular-content"),
            s.find(".J-mbshearch-title span")), h = "hothistory", f = (0,
            i.default)(250), p = $("html").attr("lang") ? $("html").attr("lang").toLowerCase() : "zh-cn", w = {
                searchUrl: a.attr("data-api-search-url"),
                hot: a.attr("data-api-hot"),
                autoword: a.attr("data-api-autoword"),
                hotSearch: a.attr("data-default-hot")
            }, m = {
                openSearch: function() {
                    $(".header-mbnav").removeClass("show"),
                    $(".header-menu-mb").removeClass("show-nav"),
                    o.addClass("show"),
                    r.focus()
                },
                closeSearch: function() {
                    r.val("").trigger("input"),
                    o.removeClass("show")
                },
                toggleSearch: function() {
                    o.hasClass("show") ? this.closeSearch() : this.openSearch()
                },
                toggleDropList: function(e) {
                    "hot" === e ? (u.addClass("show"),
                    c.removeClass("show")) : "auto" === e ? (u.removeClass("show"),
                    c.addClass("show")) : "none" !== e && 0 !== c.find("li").length || (u.removeClass("show"),
                    c.removeClass("show").find("a").removeClass("hover"))
                },
                getXSite: function() {
                    var e = ($("html").attr("lang") || "zh-cn").replace(/\-/g, "_").toUpperCase()
                      , t = $("html").attr("site") || "china";
                    return "hk" === t ? "INTL-".concat(e) : "".concat(t.toUpperCase(), "-").concat(e)
                },
                
                renderAutoword: function(e, t, o) {
                    var a = ""
                      , i = ""
                      , n = function(e, t) {
                        var o = new RegExp(e,"i")
                          , a = !1
                          , i = t.replace(o, (function(e) {
                            return a = !0,
                            "<span>" + e + "</span>"
                        }
                        ));
                        return a || (i = "<span>" + i + "</span>"),
                        i
                    }
                      , r = {
                        console: {
                            "zh-cn": "控制台",
                            "en-us": "Console"
                        },
                        product: {
                            "zh-cn": "产品",
                            "en-us": "Product"
                        }
                    };
                    t.forEach((function(t) {
                        var o = n(e, t.text)
                          , i = $("<div></div>");
                        i.text(e);
                        var s = i.html()
                          , c = t.isProduct ? "<i>产品</i>" : ""
                          , u = t.href && t.href.indexOf("console") > -1 ? '<i class="tag-console" bi_name="'.concat(t.text, '_console" \n            target="_blank" data-href="').concat(t.href, '" \n            mate_data_ts_v2="searcher_navigation.click_directpage_console_').concat(s, ".").concat(t.text, '">').concat(r.console[p], "\n            </i>") : "";
                        a += '<li class="to-page"><a href="' + t.productUrl + '" target="_blank" bi_name="' + t.text + '_toPage" mate_data_ts_v2="searcher_navigation.click_directpage_' + s + "." + t.text + '"><p>' + o + "</p><div>" + c + u + "</div></a></li>"
                    }
                    )),
                    o.forEach((function(t) {
                        var o = n(e, t)
                          , a = $("<div></div>");
                        a.text(e);
                        var r = a.html();
                        i += '<li><a mate_data_ts_v2="searcher_navigation.click_associate_' + r + "." + t + '">' + o + "</a></li>"
                    }
                    )),
                    c.html(a + i)
                },
                search: function(e, t) {
                    var o = w.searchUrl + $.base64.urlSafeEncode(e, !0);
                    "_blank" === t ? window.open(o) : location.href = o
                },
                showDropBaseOnInput: (e = "",
                function() {
                    f((function() {
                        var t = $.trim(r.val());
                        "" === t ? (m.requestAutoword(!1, null),
                        o.is(".active") && m.toggleDropList("hot")) : (t !== e && (e = t),
                        m.requestAutoword(t, (function(e, o) {
                            m.renderAutoword(t, e, o),
                            e.length || o.length ? m.toggleDropList("auto") : m.toggleDropList("hot")
                        }
                        )))
                    }
                    ), 300)
                }
                )
            };
           
            
           
            s.on("click", "a", (function(e) {
                var t = $(this)
                  , o = $.trim(t.text());
                o = o.endsWith("产品") ? o.slice(0, -2) : o;
                var i = t.attr("href");
                $(e.target).closest(".tag-console").length && window.open($(e.target).attr("data-href"), e.target.target),
                r.val(o),
                i || (e.preventDefault(),
                a.trigger("submit")),
                m.toggleDropList("none"),
                m.closeSearch()
            }
            )),
            $(document).on("keydown", ".header-mbshearch-input", (function(e) {
                13 === e.originalEvent.keyCode && (e.preventDefault(),
                a.trigger("submit"),
                m.closeSearch())
            }
            )),
            $(document).on("click", ".header-menu-search-mb", (function() {
                m.toggleSearch()
            }
            )),
            $(document).on("click", ".header-mbshearch", (function(e) {
                this === e.target && m.closeSearch()
            }
            )),
            $(document).on("click", ".header-mbshearch-cancel", (function() {
                m.closeSearch(),
                $(".nav-main.fixed").css("top", "48px")
            }
            )),
            o.data("methods", m)
        }
        ))
    }
    , function(e, t, o) {
        "use strict";
        var a = o(0);
        Object.defineProperty(t, "__esModule", {
            value: !0
        }),
        t.default = void 0;
        var i = a(o(2))
          , n = a(o(3))
          , r = a(o(7));
        o(39);
        var s = a(o(40));
        $((function() {
            $(document).on("click", ".weixin-sh", (function() {
                (0,
                s.default)(1024) || $(".wx-pop-wrapper").fadeIn(300)
            }
            )),
            $(document).on("click", ".wx-pop-wrapper", (function() {
                (0,
                s.default)(1024) || $(".wx-pop-wrapper").fadeOut(300)
            }
            )),
            $(document).on("click", ".footer-collapse-icon", (function() {
                $(".footer-hot-recommend-content").toggleClass("expand")
            }
            )),
            $(".content-center").height() <= 115 && $(".footer-collapse-icon").css("display", "none");
            var e = $(".footer-copyright").html();
            e && (e = e.replace(String((new Date).getFullYear() - 1), String((new Date).getFullYear())),
            $(".footer-copyright").html(e))
        }
        ));
        var c = function() {
            function e(t) {
                (0,
                i.default)(this, e),
                (0,
                r.default)(this, "$el", void 0),
                this.$el = $(t)
            }
            return (0,
            n.default)(e, null, [{
                key: "moduleName",
                value: function() {
                    return "footer"
                }
            }]),
            e
        }();
        t.default = c
    }
    , function(e, t, o) {}
    , function(e, t, o) {
        "use strict";
        Object.defineProperty(t, "__esModule", {
            value: !0
        }),
        t.default = function(e) {
            var t = "mediaQuery" + (new Date).getTime()
              , o = '\n    <span class="'.concat(t, '">\n    <style>\n        .').concat(t, "{\n            font-size: 0 !important;\n        }\n        @media(min-width: ").concat(e, "px){\n            .").concat(t, "{\n                font-size: 20px !important;\n            }\n        }\n    </style>\n    </span>")
              , a = $(o).appendTo("body")
              , i = "20px" === a.css("font-size");
            return a.remove(),
            i
        }
    }
    , function(e, t, o) {
        "use strict";
        var a = o(0);
        Object.defineProperty(t, "__esModule", {
            value: !0
        }),
        Object.defineProperty(t, "default", {
            enumerable: !0,
            get: function() {
                return i.default
            }
        });
        var i = a(o(13)) 
    }
    ])
}
));
